﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SharePoint;

namespace ImageEnhancer
{
    class FeatureReceiver : SPFeatureReceiver
    {
        public override void FeatureActivated(SPFeatureReceiverProperties properties)
        {
            /*SPWeb oWeb = (SPWeb)properties.Feature.Parent;
            UpdateLayoutsSitemap uls = new UpdateLayoutsSitemap(oWeb.Site.WebApplication);

            uls.AddSitemap("layouts.sitemap.enhancedimage.xml");

            uls.SubmitJob();

            throw new NotImplementedException();*/
        }
        public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
        {
            throw new NotImplementedException();
        }
        public override void FeatureInstalled(SPFeatureReceiverProperties properties)
        {
            throw new NotImplementedException();
        }
        public override void FeatureUninstalling(SPFeatureReceiverProperties properties)
        {
            throw new NotImplementedException();
        }
    }
}
